package org.mura.austin.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

/**
 * @author Akutagawa Murasame
 * @date 2022/5/8 14:33
 *
 * 描点状态枚举
 */
@Getter
@ToString
@AllArgsConstructor
public enum AnchorState {
    RECEIVE(10, "成功消费Kafka"),
    DISCARD(20, "消费被丢弃"),
    CONTENT_DEDUPLICATION(30, "消息被内容去重"),
    FREQUENCY_DEDUPLICATION(40, "消息被频次去重"),
    WHITE_LIST(50, "白名单过滤"),
    SEND_SUCCESS(60, "消息下发成功"),
    SEND_FAIL(70, "消息下发失败"),
    CLICK(0100, "消息被点击")
    ;

    private Integer code;
    private String description;
}
